package com.ssdp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
 * @author syo 2319615164@qq.com
 * @description 启动类
 * @date 2024/3/14
 * @Copyright syo
 */
@MapperScan("com.ssdp.mapper")                      // 开启Mapper扫描
@SpringBootApplication                              // 开启SpringBoot应用
@EnableTransactionManagement                        // 开启事务
@EnableAspectJAutoProxy(exposeProxy = true)         // 暴露代理对象
public class SsDianPingApplication {
    public static void main(String[] args) {
        SpringApplication.run(SsDianPingApplication.class, args);
    }
}
